package com.hualan.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Date;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Article {
    private Integer id;
    private String title;
    private String summary;
    private Integer consultant_id;
    private String cover_image;
    private Integer views;
    private Integer favorites;
    private String create_time;
    private Integer del;
    private Consultant consultant;
}
